﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProdcutsCategories.ascx.cs" Inherits="UControlsBase_ProdcutsCategories" %>
<asp:DropDownList ID="DropDownList1" runat="server" 
    DataSourceID="GrandDataSource" DataTextField="ProdCat_NameAr" 
    DataValueField="ProdCat_Id">
</asp:DropDownList>
<asp:ObjectDataSource ID="GrandDataSource" runat="server" 
    OldValuesParameterFormatString="original_{0}" 
    SelectMethod="GetProductGrandData" TypeName="SiteECSWeb.ProductCategoryBLL">
</asp:ObjectDataSource>
<asp:DropDownList ID="DropDownList2" runat="server" 
    DataSourceID="ProdFatherDataSource" DataTextField="ProdCat_NameAr" 
    DataValueField="ProdCat_GropID">
</asp:DropDownList>
<asp:ObjectDataSource ID="ProdFatherDataSource" runat="server" 
    OldValuesParameterFormatString="original_{0}" 
    SelectMethod="GetProductfatherDataByGrandID" 
    TypeName="SiteECSWeb.ProductCategoryBLL">
    <SelectParameters>
        <asp:ControlParameter ControlID="DropDownList1" Name="GrandFatherId" 
            PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
